<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!-- blueprint CSS framework -->
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/css/screen.css" media="screen, projection" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/css/print.css" media="print" />
    <!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/css/ie.css" media="screen, projection" />
    <![endif]-->

    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/css/main.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/css/form.css" />
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/js/jquery-1.11.0.min.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/js/jquery.form.js"></script>

    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    <link rel="icon" href="<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/img/favicon.ico"/>

	<style type="text/css">
		* {
			padding: 0;
			margin: 0;
		}
		a:link,a:visited,a:hover,a:active {
			color: #555;
			text-decoration: none;
		}
		#loading{
	        width: 64px;
	        height: 64px;
	        background-image: url("<?php echo Yii::app()->request->baseUrl; ?>/themes/fly_high/assets/img/loading.gif");
	        position: fixed;
	        top: 50%;
	        left: 50%;
	        display: none;
    	}
		#wrap {
			min-width: 800px;
			width: 100%;
			/*max-width: 1280px;*/
		}
		#wrap,#header,section,#footer {
			width: 100%;
		}
		#contentLeft {
			width: 21%;
			float: left;
			clear: left;
		}
		#contentRight {
			width: 20%;
			float: right;
			clear: both;
		}
		#content {
			float: left;
			width: 80%;
		}
		#contentDiv {
			float: left;
			width: 79%;
		}
		#footer{
			border-top: 1px solid #c6c6c6;
		    height: 50px;
		    margin: auto;
		    padding: 15px 0;
		    text-align: right;
		    /*width: 94%;*/
		    color: #606060;
		}
	</style>
</head>

<body>
<div id="wrap">
	<header id="header" style="position: fixed;top:0; z-index: 9999;">
	<?php $this->beginContent('//common/header');$this->endContent();?>
	</header><!-- header -->
	<section style="margin-top: 46px;">
		<?php echo $content; ?>
	</section>
</div><!-- page -->
</body>
</html>